package com.videolib.service;

import com.videolib.pojo.Bill;
import com.videolib.pojo.Movie;
import com.videolib.pojo.PremiumUser;
import com.videolib.pojo.SimpleUser;
import com.videolib.pojo.User;

public class Service {



	public String signIn (int membershipId,String password)
	{
		String result = null; 
		return result;

	}


	public String signUp (String firstname,String lastname,String username,String password,String address,String city,String state,String zipcode)
	{
		String result = null; 
		return result;
	}

	public String deleteUser (int membershipId)
	{
		String result = null; 
		return result;
	}

	public String createMovie (String movie_name, String release_date,String banner_name,String category,int available_copies)
	{	String result = null; 
	return result;

	}

	public String deleteMovie (int movie_id){
		String result = null; 
		return result;
	}

	public String rentMovie(int membershipId, int movie_id)
	{
		String result = null; 
		return result;
	}

	public String returnMovie (int membershipId, int movie_id)
	{
		String result = null; 
		return result;
	}

	public PremiumUser[] listAllPremiumusers()
	{
		PremiumUser[] userlist = null ;
		return userlist; 

	}

	public SimpleUser[] listAllSimpleusers()
	{
		SimpleUser[] userlist = null ;
		return userlist; 
	}

	public Movie[] listAllMovies()
	{
		Movie[] movieList = null ;
		return movieList; 
	}

	public User[] listAllUsers()
	{
		User[] userlist = null ;
		return userlist; 

	}

	public String updateUserDetails(int membershipId, String firstname,String lastname,String username,String password,String address,String city,String state,String zipcode)
	{
		String result = null; 
		return result;
	}

	public String updateMovieDetails(int movie_id, String movie_name, String release_date,String banner_name,String category,int available_copies)
	{
		String result = null; 
		return result;
	}

	public User[] searchUser (int column_number, String search_value)
	{
		User[] userlist = null ;
		return userlist; 
	}

	public Movie[] searchMovie(int column_number, String search_value)
	{
		Movie[] movieList = null ;
		return movieList; 	
	}

	public User[] getUserInfo(int membershipId)
	{
		User[] userlist = null ;
		return userlist; 

	}

	public Movie[] getMovieInfo(int movie_id)
	{
		Movie[] movieList = null ;
		return movieList; 

	}

	public Bill[] generatebill (int membershipId)
	{
		Bill[] bills = null ;
		return bills; 
	}

}
